package exam.card.dao;

import java.util.List;

import exam.card.entity.CardEntity;

/**
*@author jzh
*@创建时间 2017年6月17日下午4:00:00
*类说明：
*/
public interface CardDao {
	
	int addCard(CardEntity entity) throws Exception;
	
	List<CardEntity> findAllCard()throws Exception;
	
	CardEntity findCardById(int id) throws Exception;
	
	int updateCard(CardEntity entity) throws Exception;
	
	int deleteCard(int id) throws Exception;
}
